package com.oa.bean;

import java.util.HashSet;
import java.util.Set;


/**
 * Dept entity. @author MyEclipse Persistence Tools
 */

public class Dept  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String name;
     private String remark;
     private Integer is = 1;
     private Set emps = new HashSet(0);


    // Constructors

    /** default constructor */
    public Dept() {
    }

    
    /** full constructor */
    public Dept(String name, String remark, Integer is, Set emps) {
        this.name = name;
        this.remark = remark;
        this.is = is;
        this.emps = emps;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIs() {
        return this.is;
    }
    
    public void setIs(Integer is) {
        this.is = is;
    }

    public Set getEmps() {
        return this.emps;
    }
    
    public void setEmps(Set emps) {
        this.emps = emps;
    }


    @Override
    public String toString() {
        return "Dept{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                ", is=" + is +
                ", emps=" + emps +
                '}';
    }
}